package com.tuanzi.loan.vo.view.family.product;

import com.google.common.collect.Lists;
import com.starbaba.model.bean.BadgeInfo;
import com.tuanzi.loan.vo.view.application.Action;
import com.tuanzi.loan.vo.view.application.Badge;
import com.tuanzi.loan.vo.view.application.ExportReplaceCondition;
import lombok.Data;

import javax.faces.model.SelectItem;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Auther: hequnayu
 * @Date: 2019/8/1 11:24
 * @Description:
 */
@Data
public class LoanApplicationExportView implements Serializable {
    private static final long serialVersionUID = 2287647753026069818L;

    private Long id;

    private String name;

    private String title;

    private String subtitle;

    private String subtitle2;

    private Integer type;

    private Long exportGroupId;//这里的是分组的主键，保存的时候还要转成分组id

    private Integer position;

//    private Integer orderNum;

    private Integer status;

    private Float minVersionCode;

    private Float maxVersionCode;

    private Date startTime;

    private Date endTime;

    private String extra;

    private String imgurl;

    private String afClickImgurl;

    private Boolean mustLogin = false;

    private String launch;

    private String targetTitle;

    private String targeturl;

    private String userTypes;

    private List<String> selectedPlatforms;
    private List<String> selectedProducts;
    private List<String> selectedExcludeChannels;
    private List<String> selectedUserTypes = Lists.newArrayList("1");

    private Action action;
    private BadgeInfo badge;
    private ExportReplaceCondition exportReplaceCondition;
}
